home *** CD-ROM | disk | FTP | other *** search
/ CD Classic 39 / CD CLASSIC #39 (1998).iso / EMPRESA / visio / Vistdstd / Install / Data.Z / Visconst.H < prev    next >
C/C++ Source or Header  |  1997-11-11  |  90KB  |  1,820 lines

  1. /* VISCONST.H - Visio Automation Constants
  2.  * Copyright (C) 1991-1997 Visio Corporation. All rights reserved.
  3.  */
  4.  
  5.  
  6. #ifndef _VISCONST_H
  7. #define _VISCONST_H
  8.  
  9. // Class name to be used with Create/GetObject.
  10. #define visApi                                    "visio.application"
  11.  
  12. // Unit codes to be used with cell.result and similar methods.
  13. #define visNumber                                 32
  14. #define visDate                                   40
  15. #define visDurationUnits                          42
  16. #define visElapsedWeek                            43
  17. #define visElapsedDay                             44
  18. #define visElapsedHour                            45
  19. #define visElapsedMin                             46
  20. #define visElapsedSec                             47
  21. #define visTypeUnits                              48
  22. #define visPoints                                 50
  23. #define visPicas                                  51
  24. #define visDidots                                 53
  25. #define visCiceros                                54
  26. #define visPageUnits                              63
  27. #define visDrawingUnits                           64
  28. #define visInches                                 65
  29. #define visFeet                                   66
  30. #define visFeetAndInches                          67
  31. #define visMiles                                  68
  32. #define visCentimeters                            69
  33. #define visMillimeters                            70
  34. #define visMeters                                 71
  35. #define visKilometers                             72
  36. #define visInchFrac                               73
  37. #define visMileFrac                               74
  38. #define visYards                                  75
  39. #define visNautMiles                              76
  40. #define visAngleUnits                             80
  41. #define visDegrees                                81
  42. #define visDegreeMinSec                           82
  43. #define visRadians                                83
  44. #define visMin                                    84
  45. #define visSec                                    85
  46. #define visCurrency                               111
  47. #define visNoCast                                 252
  48.  
  49. // Type codes returned by window.type and subtype.
  50. #define visWinOther                               0
  51. #define visDrawing                                1
  52. #define visStencil                                2
  53. #define visSheet                                  3
  54. #define visIcon                                   4
  55. #define visPageWin                                128
  56. #define visPageGroupWin                           160
  57. #define visMasterWin                              64
  58. #define visMasterGroupWin                         96
  59.  
  60. // Values to use with Window.ShowScrollBars.
  61. // These have effect only if Visio is running as a control.
  62. #define visScrollBarNeither                       0x0
  63. #define visScrollBarHoriz                         0x1
  64. #define visScrollBarVert                          0x4
  65. #define visScrollBarBoth                          0x5
  66.  
  67. // Type codes returned by shape.type and foreigntype.
  68. #define visTypePage                               1
  69. #define visTypeGroup                              2
  70. #define visTypeShape                              3
  71. #define visTypeForeignObject                      4
  72. #define visTypeGuide                              5
  73. #define visTypeMetafile                           0x10
  74. #define visTypeBitmap                             0x20
  75. #define visTypeIsLinked                           0x100
  76. #define visTypeIsEmbedded                         0x200
  77. #define visTypeIsControl                          0x400
  78. #define visTypeIsOLE2                             0x8000
  79.  
  80. // The value shape.id will not return for any shape.
  81. #define visInvalShapeID                           -1
  82. // The id of a page's or master's page sheet.
  83. #define visPageSheetID                            0
  84.  
  85. // Indices of sections in shape or style objects.
  86. #define visSectionInval                           255
  87. #define visSectionFirst                           0
  88. #define visSectionLast                            252
  89. #define visSectionNone                            255
  90. #define visSectionObject                          1
  91. #define visSectionMember                          2
  92. #define visSectionCharacter                       3
  93. #define visSectionParagraph                       4
  94. #define visSectionTab                             5
  95. #define visSectionScratch                         6
  96. // visSectionExport and visSectionConnectionPts name the same section.
  97. #define visSectionExport                          7
  98. #define visSectionConnectionPts                   7
  99. #define visSectionTextField                       8
  100. #define visSectionControls                        9
  101. #define visSectionFirstComponent                  10
  102. #define visSectionLastComponent                   239
  103. #define visSectionAction                          240
  104. #define visSectionLayer                           241
  105. #define visSectionUser                            242
  106. #define visSectionProp                            243
  107. #define visSectionLastReal                        243
  108.  
  109. // Indices of rows in shape or style object sections.
  110. #define visRowFirst                               0
  111. #define visRowLast                                -2
  112. #define visRowNone                                -1
  113.  
  114. // Indices of rows in visSectionObject.
  115. #define visRowXFormOut                            1
  116. #define visRowXFormIn                             1
  117. #define visRowLine                                2
  118. #define visRowFill                                3
  119. #define visRowXForm1D                             4
  120. #define visRowEvent                               5
  121. #define visRowLayerMem                            6
  122. #define visRowGuide                               7
  123. #define visRowStyle                               8
  124. #define visRowForeign                             9
  125. #define visRowPage                                10
  126. #define visRowText                                11
  127. #define visRowTextXForm                           12
  128. #define visRowAlign                               14
  129. #define visRowLock                                15
  130. #define visRowData123                             16
  131. #define visRowMisc                                17
  132. #define visRowRulerGrid                           18
  133. #define visRowHyperlink                           19
  134.  
  135. // Index of component properties row and 1st vertex row
  136. // in a geometry section (visSectionFirstComponent+i).
  137. #define visRowComponent                           0
  138. #define visRowVertex                              1
  139.  
  140. // Index of 1st row in visSectionMember, etc.
  141. #define visRowMember                              0
  142. #define visRowCharacter                           0
  143. #define visRowParagraph                           0
  144. #define visRowTab                                 0
  145. #define visRowScratch                             0
  146. // visRowExport and visRowConnectionPts name the same row.
  147. #define visRowExport                              0
  148. #define visRowConnectionPts                       0
  149. #define visRowField                               0
  150. #define visRowControl                             0
  151. #define visRowAction                              0
  152. #define visRowLayer                               0
  153. #define visRowUser                                0
  154. #define visRowProp                                0
  155.  
  156. // Generic index of 1st row in non-object/geometry section.
  157. #define visRowFormat                              0
  158.  
  159. // Row tags to be used with shape.rowtype and similar methods.
  160. #define visTagBase                                130
  161. #define visTagRowVoid                             180
  162. #define visTagInvalid                             -1
  163.  
  164. // Tags of geometry section rows. (visSectionFirstComponent+i)
  165. #define visTagComponent                           137
  166. #define visTagMoveTo                              138
  167. #define visTagLineTo                              139
  168. #define visTagArcTo                               140
  169. #define visTagEllipticalArcTo                     144
  170. #define visTagSplineBeg                           165
  171. #define visTagSplineSpan                          166
  172.  
  173. // Tags of rows in visSectionTab.
  174. #define visTagTab0                                136
  175. #define visTagTab2                                150
  176. #define visTagTab10                               151
  177.  
  178. // Tags of rows in visSectionControls.
  179. #define visTagCtlPt                               162
  180. #define visTagCtlPtTip                            170
  181.  
  182. // Tags of rows in visSectionConnectionPts.
  183. #define visTagCnnctPt                             153
  184. #define visTagCnnctNamed                          185
  185. #define visTagCnnctPtABCD                         186
  186. #define visTagCnnctNamedABCD                      187
  187.  
  188. // Indices of cells in visRowXFormOut and visRowTextXForm.
  189. #define visXFormPinX                              0
  190. #define visXFormPinY                              1
  191. #define visXFormWidth                             2
  192. #define visXFormHeight                            3
  193. #define visXFormLocPinX                           4
  194. #define visXFormLocPinY                           5
  195. #define visXFormAngle                             6
  196.  
  197. // Indices of cells in visRowXFormOut but not visRowTextXForm.
  198. #define visXFormFlipX                             7
  199. #define visXFormFlipY                             8
  200. #define visXFormResizeMode                        9
  201.  
  202. // Indices of cells in visRowLine.
  203. #define visLineWeight                             0
  204. #define visLineColor                              1
  205. #define visLinePattern                            2
  206. #define visLineRounding                           3
  207. #define visLineArrowSize                          4
  208. #define visLineBeginArrow                         5
  209. #define visLineEndArrow                           6
  210. #define visLineEndCap                             7
  211.  
  212. // Indices of cells in visRowFill.
  213. #define visFillForegnd                            0
  214. #define visFillBkgnd                              1
  215. #define visFillPattern                            2
  216. #define visFillShdwForegnd                        3
  217. #define visFillShdwBkgnd                          4
  218. #define visFillShdwPattern                        5
  219.  
  220. // Indices of cells in visRowXForm1D.
  221. #define vis1DBeginX                               0
  222. #define vis1DBeginY                               1
  223. #define vis1DEndX                                 2
  224. #define vis1DEndY                                 3
  225.  
  226. // Indices of cells in visRowEvent.
  227. #define visEvtCellTheData                         0
  228. #define visEvtCellTheText                         1
  229. #define visEvtCellDblClick                        2
  230. #define visEvtCellXFMod                           3
  231. #define visEvtCellDrop                            4
  232.  
  233. // Indices of cells in visRowLayerMem.
  234. #define visLayerMember                            0
  235.  
  236. // Indices of cells in visRowGuide. [0:visX 1:visY]
  237. #define visGuideFlags                             2
  238.  
  239. // Indices of cells in visRowStyle.
  240. #define visStyleIncludesLine                      0
  241. #define visStyleIncludesFill                      1
  242. #define visStyleIncludesText                      2
  243.  
  244. // Indices of cells in visRowForeign.
  245. #define visFrgnImgOffsetX                         0
  246. #define visFrgnImgOffsetY                         1
  247. #define visFrgnImgWidth                           2
  248. #define visFrgnImgHeight                          3
  249.  
  250. // Indices of cells in visRowPage.
  251. #define visPageWidth                              0
  252. #define visPageHeight                             1
  253. #define visPageShdwOffsetX                        2
  254. #define visPageShdwOffsetY                        3
  255. #define visPageScale                              4
  256. #define visPageDrawingScale                       5
  257. #define visPageDrawSizeType                       6
  258. #define visPageDrawScaleType                      7
  259.  
  260. // Indices of cells in visRowText.
  261. #define visTxtBlkLeftMargin                       0
  262. #define visTxtBlkRightMargin                      1
  263. #define visTxtBlkTopMargin                        2
  264. #define visTxtBlkBottomMargin                     3
  265. #define visTxtBlkVerticalAlign                    4
  266. #define visTxtBlkBkgnd                            5
  267.  
  268. // Indices of cells in visRowAlign.
  269. #define visAlignLeft                              0
  270. #define visAlignCenter                            1
  271. #define visAlignRight                             2
  272. #define visAlignTop                               3
  273. #define visAlignMiddle                            4
  274. #define visAlignBottom                            5
  275.  
  276. // Indices of cells in visRowLock.
  277. #define visLockWidth                              0
  278. #define visLockHeight                             1
  279. #define visLockMoveX                              2
  280. #define visLockMoveY                              3
  281. #define visLockAspect                             4
  282. #define visLockDelete                             5
  283. #define visLockBegin                              6
  284. #define visLockEnd                                7
  285. #define visLockRotate                             8
  286. #define visLockCrop                               9
  287. #define visLockVtxEdit                            10
  288. #define visLockTextEdit                           11
  289. #define visLockFormat                             12
  290. #define visLockGroup                              13
  291. #define visLockCalcWH                             14
  292. #define visLockSelect                             15
  293.  
  294. // Indices of cells in visRowData123.
  295. #define visObjHelp                                0
  296. #define visCopyRight                              1
  297.  
  298. // Indices of cells in visRowMisc.
  299. #define visNoObjHandles                           0
  300. #define visNonPrinting                            1
  301. #define visNoCtlHandles                           2
  302. #define visNoAlignBox                             3
  303. #define visUpdateAlignBox                         4
  304. #define visHideText                               5
  305. #define visDynFeedback                            8
  306. #define visGlueType                               9
  307. #define visWalkPref                               10
  308. #define visBegTrigger                             11
  309. #define visEndTrigger                             12
  310. #define visLOFlags                                13
  311. #define visLOInteraction                          14
  312. #define visLOBehavior                             15
  313.  
  314. // Indices of cells in visRowRulerGrid.
  315. #define visXRulerDensity                          0
  316. #define visYRulerDensity                          1
  317. #define visXRulerOrigin                           4
  318. #define visYRulerOrigin                           5
  319. #define visXGridDensity                           6
  320. #define visYGridDensity                           7
  321. #define visXGridSpacing                           8
  322. #define visYGridSpacing                           9
  323. #define visXGridOrigin                            10
  324. #define visYGridOrigin                            11
  325.  
  326. // Indices of cells in visRowHyperlink.
  327. #define visHLinkDescription                       0
  328. #define visHLinkAddress                           1
  329. #define visHLinkSubAddress                        2
  330. #define visHLinkExtraInfo                         3
  331. #define visHLinkFrame                             4
  332. #define visHLinkNewWin                            5
  333.  
  334. // Indices of cells in visRowComponent.
  335. #define visCompNoFill                             0
  336. #define visCompNoShow                             2
  337.  
  338. // Cell indices for visRowVertex+i.
  339. // ...if rowtype is visTagMoveTo or visTagLineTo.
  340. #define visX                                      0
  341. #define visY                                      1
  342. // ...if rowtype is visTagArcTo.
  343. //    [0:visX 1:visY]
  344. #define visBow                                    2
  345. // ...if rowtype is visTagEllipticalArcTo.
  346. //    [0:visX 1:visY]
  347. #define visControlX                               2
  348. #define visControlY                               3
  349. #define visEccentricityAngle                      4
  350. #define visAspectRatio                            5
  351. // ...if rowtype is visTagSplineBeg.
  352. //    [0:visX 1:visY]
  353. #define visSplineKnot                             2
  354. #define visSplineKnot2                            3
  355. #define visSplineKnot3                            4
  356. #define visSplineDegree                           5
  357. // ...if rowtype is visTagSplineSpan.
  358. //    [0:visX 1:visY 2:visSplineKnot]
  359.  
  360. // Indices of cells in visRowField+i.
  361. #define visFieldCell                              0
  362.  
  363. // Indices of cells in visRowCharacter+i.
  364. #define visCharacterFont                          0
  365. #define visCharacterColor                         1
  366. #define visCharacterStyle                         2
  367. #define visCharacterCase                          3
  368. #define visCharacterPos                           4
  369. #define visCharacterSize                          7
  370.  
  371. // Indices of cells in visRowParagraph+i.
  372. #define visIndentFirst                            0
  373. #define visIndentLeft                             1
  374. #define visIndentRight                            2
  375. #define visSpaceLine                              3
  376. #define visSpaceBefore                            4
  377. #define visSpaceAfter                             5
  378. #define visHorzAlign                              6
  379.  
  380. // Indices of cells in visRowTab+i.
  381. // ...# of tab stops in row kept in cell visTabStopCount.
  382. #define visTabStopCount                           0
  383. // ...position of stop j is in cell ((j-1)*3)+1.
  384. // ...alignment of stop j is in cell ((j-1)*3)+2.
  385. #define visTabPos                                 1
  386. #define visTabAlign                               2
  387.  
  388. // Indices of cells in visRowScratch+i.
  389. #define visScratchX                               0
  390. #define visScratchY                               1
  391. #define visScratchA                               2
  392. #define visScratchB                               3
  393. #define visScratchC                               4
  394. #define visScratchD                               5
  395.  
  396. // Indices of cells in visRowConnectionPts+i.
  397. //    [0:visX 1:visY]
  398. // These exist if row's type is visTagCnnctPtABCD or visTagCnnctNamedABCD.
  399. #define visCnnctA                                 2
  400. #define visCnnctB                                 3
  401. #define visCnnctC                                 4
  402. #define visCnnctD                                 5
  403.  
  404. // Indices of cells in visRowControl+i.
  405. #define visCtlX                                   0
  406. #define visCtlY                                   1
  407. #define visCtlXDyn                                2
  408. #define visCtlYDyn                                3
  409. #define visCtlXCon                                4
  410. #define visCtlYCon                                5
  411. #define visCtlGlue                                6
  412. // These exist if row's type is visTagCtlPtTip.
  413. // visCtlType cell exists but is not used by Visio.
  414. #define visCtlType                                7
  415. #define visCtlTip                                 8
  416.  
  417. // Indices of cells in visRowAction+i.
  418. #define visActionMenu                             0
  419. #define visActionPrompt                           1
  420. #define visActionHelp                             2
  421. #define visActionAction                           3
  422. #define visActionChecked                          4
  423. #define visActionDisabled                         5
  424.  
  425. // Indices of cells in visRowLayer+i.
  426. #define visLayerName                              0
  427. #define visLayerColor                             2
  428. #define visLayerStatus                            3
  429. #define visLayerVisible                           4
  430. #define visLayerPrint                             5
  431. #define visLayerActive                            6
  432. #define visLayerLock                              7
  433. #define visLayerSnap                              8
  434. #define visLayerGlue                              9
  435.  
  436. // Indices of cells in visRowUser+i.
  437. #define visUserValue                              0
  438. #define visUserPrompt                             1
  439.  
  440. // Indices of cells in visRowProp+i.
  441. #define visCustPropsValue                         0
  442. #define visCustPropsPrompt                        1
  443. #define visCustPropsLabel                         2
  444. #define visCustPropsFormat                        3
  445. #define visCustPropsSortKey                       4
  446. #define visCustPropsType                          5
  447. #define visCustPropsInvis                         6
  448. #define visCustPropsAsk                           7
  449.  
  450. // Values for visXFormResizeMode cell.
  451. #define visXFormResizeDontCare                    0
  452. #define visXFormResizeSpread                      1
  453. #define visXFormResizeScale                       2
  454.  
  455. // Values for visFill[Shdw]Pattern cells.
  456. #define visNoFill                                 0
  457. #define visSolid                                  1
  458. #define visWideUpDiagonal                         2
  459. #define visWideCross                              3
  460. #define visWideDiagonalCross                      4
  461. #define visWideDownDiagonal                       5
  462. #define visWideHorz                               6
  463. #define visWideVert                               7
  464. #define visBackDotsMini                           8
  465. #define visHalfAndHalf                            9
  466. #define visForeDotsMini                           10
  467. #define visForeDotsNarrow                         11
  468. #define visForeDotsWide                           12
  469. #define visThickHorz                              13
  470. #define visThickVertical                          14
  471. #define visThickDownDiagonal                      15
  472. #define visThickUpDiagonal                        16
  473. #define visThickDiagonalCross                     17
  474. #define visBackDotsWide                           18
  475. #define visThinHorz                               19
  476. #define visThinVert                               20
  477. #define visThinDownDiagonal                       21
  478. #define visThinUpDiagonal                         22
  479. #define visThinCross                              23
  480. #define visThinDiagonalCross                      24
  481.  
  482. // Values for visGuideFlags cell.
  483. #define visGuideXActive                           0x400
  484. #define visGuideYActive                           0x800
  485.  
  486. // Values for visPageDrawSizeType cell.
  487. #define visPrintSetup                             0
  488. #define visTight                                  1
  489. #define visStandard                               2
  490. #define visCustom                                 3
  491. #define visLogical                                4
  492. #define visDSMetric                               5
  493. #define visDSEngr                                 6
  494. #define visDSArch                                 7
  495.  
  496. // Values for visPageDrawScaleType cell.
  497. #define visNoScale                                0
  498. #define visArchitectural                          1
  499. #define visEngineering                            2
  500. #define visScaleCustom                            3
  501. #define visScaleMetric                            4
  502. #define visScaleMechanical                        5
  503.  
  504. // Values for visTxtBlkVerticalAlign cell.
  505. #define visVertTop                                0
  506. #define visVertMiddle                             1
  507. #define visVertBottom                             2
  508.  
  509. // Values for visTxtBlkBkgnd cell. (or color index)
  510. #define visTxtBlkOpaque                           0xff
  511.  
  512. // Values for visDynFeedback cell.
  513. #define visDynFBDefault                           0
  514. #define visDynFBUCon3Leg                          1
  515. #define visDynFBUCon5Leg                          2
  516.  
  517. // Values for visGlueType cell.
  518. #define visGlueTypeDefault                        0
  519. #define visGlueTypeTrigger                        1
  520. #define visGlueTypeWalking                        2
  521.  
  522. // Values for visWalkPref cell.
  523. #define visWalkPrefBegNS                          0x1
  524. #define visWalkPrefEndNS                          0x2
  525.  
  526. // Values for visLOFlags cell.
  527. #define visLOFlagsVisDecides                      0
  528. #define visLOFlagsPlacable                        1
  529. #define visLOFlagsRoutable                        2
  530. #define visLOFlagsDont                            4
  531. // This bit set by Visio in groups with placable/routable members.
  532. #define visLOFlagsPNRGroup                        8
  533.  
  534. // Values for visLOInteraction cell.
  535. // These have effect if visLOFlags includes visLOFlagsPlacable.
  536. #define visLOIPlaceNormal                         0
  537. // These have effect if visLOFlags includes visLOFlagsRoutable.
  538. #define visLOIRouteNormal                         0
  539.  
  540. // Values for visLOBehavior cell.
  541. // These have effect if visLOFlags includes visLOFlagsPlacable.
  542. #define visLOBPlaceNormal                         0
  543. // These have effect if visLOFlags includes visLOFlagsRoutable.
  544. #define visLOBRouteNormal                         0
  545. #define visLOBRouteRightAng                       1
  546. #define visLOBRouteStraight                       2
  547. #define visLOBRouteFlowNS                         5
  548. #define visLOBRouteFlowWE                         6
  549. #define visLOBRouteTreeNS                         7
  550. #define visLOBRouteTreeWE                         8
  551.  
  552. // Values for visX/YRulerDensity cells.
  553. #define visRulerFine                              32
  554. #define visRulerNormal                            16
  555. #define visRulerCoarse                            8
  556. #define visRulerFixed                             0
  557.  
  558. // Values for visX/YGridDensity cells.
  559. #define visGridFine                               8
  560. #define visGridNormal                             4
  561. #define visGridCoarse                             2
  562. #define visGridFixed                              0
  563.  
  564. // Values for visCharacterStyle cell.
  565. #define visBold                                   0x1
  566. #define visItalic                                 0x2
  567. #define visUnderLine                              0x4
  568. #define visSmallCaps                              0x8
  569.  
  570. // Values for visCharacterCase cell.
  571. #define visCaseNormal                             0
  572. #define visCaseAllCaps                            1
  573. #define visCaseInitialCaps                        2
  574.  
  575. // Values for visCharacterPos cell.
  576. #define visPosNormal                              0
  577. #define visPosSuper                               1
  578. #define visPosSub                                 2
  579.  
  580. // Values for visHorzAlign cell.
  581. #define visHorzLeft                               0
  582. #define visHorzCenter                             1
  583. #define visHorzRight                              2
  584. #define visHorzJustify                            3
  585. #define visHorzForce                              4
  586.  
  587. // Values for visTabAlign cell.
  588. #define visTabStopLeft                            0
  589. #define visTabStopCenter                          1
  590. #define visTabStopRight                           2
  591. #define visTabStopDecimal                         3
  592. #define visTabStopComma                           4
  593.  
  594. // Values for visCtlX/YCon cells.
  595. #define visCtlProportional                        0
  596. #define visCtlLocked                              1
  597. #define visCtlOffsetMin                           2
  598. #define visCtlOffsetMid                           3
  599. #define visCtlOffsetMax                           4
  600. #define visCtlProportionalHidden                  5
  601. #define visCtlLockedHidden                        6
  602. #define visCtlOffsetMinHidden                     7
  603. #define visCtlOffsetMidHidden                     8
  604. #define visCtlOffsetMaxHidden                     9
  605.  
  606. // Values for visLayerColor cell. (Use shape color)
  607. #define visNoLayerColor                           0xff
  608.  
  609. // Values for visLayerStatus cell.
  610. #define visLayerValid                             0
  611. #define visLayerDeleted                           1
  612. #define visLayerAvailable                         2
  613.  
  614. // Values for visCustPropsType cell.
  615. #define visPropTypeString                         0
  616. #define visPropTypeListFix                        1
  617. #define visPropTypeNumber                         2
  618. #define visPropTypeBool                           3
  619. #define visPropTypeListVar                        4
  620.  
  621. // Indices of colors (in default palette).
  622. #define visTransparent                            0
  623. #define visBlack                                  0
  624. #define visWhite                                  1
  625. #define visRed                                    2
  626. #define visGreen                                  3
  627. #define visBlue                                   4
  628. #define visYellow                                 5
  629. #define visMagenta                                6
  630. #define visCyan                                   7
  631. #define visDarkRed                                8
  632. #define visDarkGreen                              9
  633. #define visDarkBlue                               10
  634. #define visDarkYellow                             11
  635. #define visPurple                                 12
  636. #define visDarkCyan                               13
  637. #define visGray                                   14
  638. #define visGray10                                 15
  639. #define visGray20                                 16
  640. #define visGray30                                 17
  641. #define visGray40                                 18
  642. #define visDarkGray                               19
  643. #define visGray50                                 19
  644. #define visGray60                                 20
  645. #define visGray70                                 21
  646. #define visGray80                                 22
  647. #define visGray90                                 23
  648.  
  649. // Flags to be passed to the OpenEx method.
  650. #define visOpenCopy                               1
  651. #define visOpenRO                                 2
  652. #define visOpenDocked                             4
  653. #define visOpenDontList                           8
  654.  
  655. // Flags to be passed to the SaveAsEx method.
  656. #define visSaveAsRO                               1
  657. #define visSaveAsWS                               2
  658.  
  659. // Flags to be passed to the SavePreviewMode property.
  660. #define visSavePrevNone                           0
  661. #define visSavePrevDraft1st                       1
  662. #define visSavePrevDetailed1st                    2
  663. #define visSavePrevDraftAll                       4
  664. #define visSavePrevDetailedAll                    8
  665.  
  666. // Flags passed to or returned by Document.Mode.
  667. #define visDocModeRun                             0
  668. #define visDocModeDesign                          1
  669.  
  670. // Flags to be passed to InsertObject or InsertFromFile.
  671. #define visInsertLink                             0x8
  672. #define visInsertIcon                             0x10
  673. #define visInsertDontShow                         0x1000
  674. #define visInsertAsControl                        0x2000
  675. #define visInsertAsEmbed                          0x4000
  676.  
  677. // Flag to be passed to GetResults indicating desired return type.
  678. #define visGetFloats                              0
  679. #define visGetTruncatedInts                       1
  680. #define visGetRoundedInts                         2
  681. #define visGetStrings                             3
  682. #define visGetFormulas                            4
  683.  
  684. // Flags to be passed to SetFormulas or SetResults.
  685. #define visSetFormulas                            0x1
  686. #define visSetBlastGuards                         0x2
  687. #define visSetTestCircular                        0x4
  688.  
  689. // Flags to be passed to BoundingBox.
  690. #define visBBoxUprightWH                          0x1
  691. #define visBBoxUprightText                        0x2
  692. #define visBBoxExtents                            0x4
  693. #define visBBoxIncludeGuides                      0x1000
  694. #define visBBoxDrawingCoords                      0x2000
  695. #define visBBoxNoNonPrint                         0x4000
  696.  
  697. // Results returned from HitTest.
  698. #define visHitOutside                             0
  699. #define visHitOnBoundary                          1
  700. #define visHitInside                              2
  701.  
  702. // Action codes used in conjunction with Select method.
  703. #define visDeselect                               1
  704. #define visSelect                                 2
  705. #define visSubSelect                              3
  706. #define visSelectAll                              4
  707. #define visDeselectAll                            256
  708.  
  709. // Action codes to be passed to Shape.UniqueID.
  710. #define visGetGUID                                0
  711. #define visGetOrMakeGUID                          1
  712. #define visDeleteGUID                             2
  713.  
  714. // Flag to be passed to Shape.SectionExists and similar methods.
  715. #define visExistsLocally                          1
  716. #define visExistsAnywhere                         0
  717.  
  718. // Result codes returned by Cell.Error property.
  719. #define visErrorSuccess                           0
  720. #define visErrorDivideByZero                      39
  721. #define visErrorValue                             47
  722. #define visErrorReference                         55
  723. #define visErrorName                              61
  724. #define visErrorNumber                            68
  725. #define visErrorNotAvailable                      74
  726.  
  727. // Truncate vs Round arg to be passed to Cell.ResultInt.
  728. #define visTruncate                               0
  729. #define visRound                                  1
  730.  
  731. // Run types to be passed to Characters.RunBegin/End.
  732. #define visCharPropRow                            1
  733. #define visParaPropRow                            2
  734. #define visTabPropRow                             3
  735. #define visWordRun                                10
  736. #define visParaRun                                11
  737. #define visFieldRun                               20
  738.  
  739. // Bias to be passed to Characters.CharPropsRow, etc.
  740. #define visBiasLetVisioChoose                     0
  741. #define visBiasLeft                               1
  742. #define visBiasRight                              2
  743.  
  744. // Toolbar flavor to be passed to BuiltInToolbars or ToolbarStyle.
  745. //     Visio 5.0 no longer supports toolbar flavors.
  746. //     BuiltInToolbars now ignores argument passed to it.
  747. //     ToolbarStyle can still be used to show/hide toolbars.
  748. //     App.ShowToolbar is now available to do this also.
  749. #define visToolBarNone                            -1
  750. #define visToolBarOn                              0
  751. // These are obsolete as of Visio 5.0. Effect now equivalent to visToolBarOn.
  752. #define visToolBarMSOffice                        0
  753. #define visToolBarLotusSS                         0
  754.  
  755. // Flags to pass to DrawSpline.
  756. #define visSplinePeriodic                         1
  757. #define visSplineDoCircles                        2
  758. #define visSplineAbrupt                           4
  759. #define visSpline1D                               8
  760.  
  761. // Type codes to be passed to Page.AddGuide.
  762. #define visPoint                                  1
  763. #define visHorz                                   2
  764. #define visVert                                   3
  765.  
  766. // Attribute codes returned by Font.Attributes.
  767. #define visFontRaster                             16
  768. #define visFontDevice                             32
  769. #define visFontScalable                           64
  770. #define visFont0Alias                             128
  771.  
  772. // Result codes returned by Stat method.
  773. // (Prior to Visio 4.1, Stat always returned visStatNormal)
  774. #define visStatNormal                             0
  775. #define visStatAppHasShutdown                     1
  776. #define visStatDeleted                            2
  777. #define visStatTouched                            4
  778. #define visStatClosed                             8
  779. #define visStatSuspended                          16
  780.  
  781. // Flags to use with App.TraceFlags.
  782. #define visTraceEvents                            0x1
  783. #define visTraceAdvises                           0x2
  784. #define visTraceAddonInvokes                      0x4
  785. #define visTraceCallsToVBA                        0x8
  786.  
  787. // The ID no Event object can have.
  788. #define visEvtIDInval                             -1
  789.  
  790. // Event codes to be used with Event and EventList objects.
  791. #define visEvtCodeInval                           0
  792. #define visEvtCodeDocCreate                       1
  793. #define visEvtCodeDocOpen                         2
  794. #define visEvtCodeDocSave                         3
  795. #define visEvtCodeDocSaveAs                       4
  796. #define visEvtCodeDocRunning                      5
  797. #define visEvtCodeDocDesign                       6
  798. #define visEvtCodeBefDocSave                      7
  799. #define visEvtCodeBefDocSaveAs                    8
  800. #define visEvtCodeBefForcedFlush                  200
  801. #define visEvtCodeAfterForcedFlush                201
  802. #define visEvtCodeWinSelChange                    701
  803. #define visEvtCodeBefWinSelDel                    702
  804. #define visEvtCodeBefWinPageTurn                  703
  805. #define visEvtCodeWinPageTurn                     704
  806. #define visEvtCodeShapeDelete                     801
  807. #define visEvtCodeBefSelDel                       901
  808. #define visEvtCodeSelAdded                        902
  809.  
  810. // Combine these with type codes that follow to be informed
  811. // of addition, deletion or modification of those types.
  812. #define visEvtAdd                                 0x8000
  813. #define visEvtDel                                 0x4000
  814. #define visEvtMod                                 0x2000
  815.  
  816. // Combine these with visEvtAdd/Del/Mod
  817. #define visEvtWindow                              0x1
  818. #define visEvtDoc                                 0x2
  819. #define visEvtStyle                               0x4
  820. #define visEvtMaster                              0x8
  821. #define visEvtPage                                0x10
  822. // visEvtLayer not used. Value may be used for different purpose in future.
  823. #define visEvtLayer                               0x20
  824. #define visEvtShape                               0x40
  825. #define visEvtText                                0x80
  826. // visEvtConnect supported as of Visio 5.0. (Defined but implemented prior to 5.0.)
  827. #define visEvtConnect                             0x100
  828. // visEvtSection not used. Value may be used for different purpose in future.
  829. #define visEvtSection                             0x200
  830. // visEvtRow not used. Value may be used for different purpose in future.
  831. #define visEvtRow                                 0x400
  832. // visEvtCell+visEvtMod fires when a cell's value changes.
  833. #define visEvtCell                                0x800
  834. // visEvtFormula+visEvtMod fires when a cell's formula changes.
  835. #define visEvtFormula                             0x1000
  836.  
  837. // Combine this with app event codes that follow to be
  838. // informed when those events happen to this instance.
  839. #define visEvtApp                                 0x1000
  840.  
  841. // Combine these with visEvtApp
  842. #define visEvtAppActivate                         0x1
  843. #define visEvtAppDeactivate                       0x2
  844. #define visEvtObjActivate                         0x4
  845. #define visEvtObjDeactivate                       0x8
  846. #define visEvtBeforeQuit                          0x10
  847. #define visEvtBeforeModal                         0x20
  848. #define visEvtAfterModal                          0x40
  849. #define visEvtWinActivate                         0x80
  850. #define visEvtMarker                              0x100
  851. #define visEvtNonePending                         0x200
  852. #define visEvtIdle                                0x400
  853.  
  854. // These are obsolete and unsupported as of Visio 4.1.
  855. #define visEvtCode1stUser                         28672
  856. #define visEvtCodeLastUser                        32767
  857.  
  858. // These are obsolete. Use visEvtCodeDocXxx instead.
  859. #define visEvtCodeCreate                          1
  860. #define visEvtCodeOpen                            2
  861.  
  862. // Action codes to be used with Event and EventList objects.
  863. #define visActCodeRunAddon                        1
  864. #define visActCodeAdvise                          2
  865.  
  866. // Pass this to EventInfo to get info on most recent event.
  867. #define visEvtIdMostRecent                        0
  868.  
  869.  
  870. // These are the codes returned by object.ObjectType.
  871. #define visObjTypeUnknown                         1
  872. #define visObjTypeApp                             3
  873. #define visObjTypeCell                            4
  874. #define visObjTypeChars                           5
  875. #define visObjTypeConnect                         8
  876. #define visObjTypeConnects                        9
  877. #define visObjTypeDoc                             10
  878. #define visObjTypeDocs                            11
  879. #define visObjTypeMaster                          12
  880. #define visObjTypeMasters                         13
  881. #define visObjTypePage                            14
  882. #define visObjTypePages                           15
  883. #define visObjTypeSelection                       16
  884. #define visObjTypeShape                           17
  885. #define visObjTypeShapes                          18
  886. #define visObjTypeStyle                           19
  887. #define visObjTypeStyles                          20
  888. #define visObjTypeWindow                          21
  889. #define visObjTypeWindows                         22
  890. #define visObjTypeLayer                           25
  891. #define visObjTypeLayers                          26
  892. #define visObjTypeFont                            27
  893. #define visObjTypeFonts                           28
  894. #define visObjTypeColor                           29
  895. #define visObjTypeColors                          30
  896. #define visObjTypeAddon                           31
  897. #define visObjTypeAddons                          32
  898. #define visObjTypeEvent                           33
  899. #define visObjTypeEventList                       34
  900. #define visObjTypeGlobal                          36
  901. #define visObjTypeHyperlink                       37
  902. #define visObjTypeOLEObjects                      38
  903. #define visObjTypeOLEObject                       39
  904. #define visObjTypePaths                           40
  905. #define visObjTypePath                            41
  906. #define visObjTypeCurve                           42
  907.  
  908. // Text field categories.
  909. #define visFCatCustom                             0
  910. #define visFCatDateTime                           1
  911. #define visFCatDocument                           2
  912. #define visFCatGeometry                           3
  913. #define visFCatObject                             4
  914. #define visFCatPage                               5
  915. #define visFCatNotes                              6
  916.  
  917. // Text field Date/Time codes.
  918. #define visFCodeCreateDate                        0
  919. #define visFCodeCreateTime                        1
  920. #define visFCodeCurrentDate                       2
  921. #define visFCodeCurrentTime                       3
  922. #define visFCodeEditDate                          4
  923. #define visFCodeEditTime                          5
  924. #define visFCodePrintDate                         6
  925. #define visFCodePrintTime                         7
  926.  
  927. // Text field Document Info codes.
  928. #define visFCodeCreator                           0
  929. #define visFCodeDescription                       1
  930. #define visFCodeDirectory                         2
  931. #define visFCodeFileName                          3
  932. #define visFCodeKeyWords                          4
  933. #define visFCodeSubject                           5
  934. #define visFCodeTitle                             6
  935. #define visFCodeManager                           7
  936. #define visFCodeCompany                           8
  937. #define visFCodeCategory                          9
  938. #define visFCodeHyperlinkBase                     10
  939.  
  940. // Text field Geometry Info codes.
  941. #define visFCodeWidth                             0
  942. #define visFCodeHeight                            1
  943. #define visFCodeAngle                             2
  944.  
  945. // Text field Object Info codes.
  946. #define visFCodeData1                             0
  947. #define visFCodeData2                             1
  948. #define visFCodeData3                             2
  949. #define visFCodeObjectID                          3
  950. #define visFCodeMasterName                        4
  951. #define visFCodeObjectName                        5
  952. #define visFCodeObjectType                        6
  953.  
  954. // Text field Page Info codes.
  955. #define visFCodeBackgroundName                    0
  956. #define visFCodePageName                          1
  957. #define visFCodeNumberOfPages                     2
  958. #define visFCodePageNumber                        3
  959.  
  960. // Text field format codes.
  961. #define visFmtNumGenNoUnits                       0
  962. #define visFmtNumGenDefUnits                      1
  963.  
  964. #define visFmt0PlNoUnits                          2
  965. #define visFmt0PlDefUnits                         3
  966. #define visFmt1PlNoUnits                          4
  967. #define visFmt1PlDefUnits                         5
  968. #define visFmt2PlNoUnits                          6
  969. #define visFmt2PlDefUnits                         7
  970. #define visFmt3PlNoUnits                          8
  971. #define visFmt3PlDefUnits                         9
  972.  
  973. #define visFmtFeetAndInches                       10
  974. #define visFmtRadians                             11
  975. #define visFmtDegrees                             12
  976. #define visFmtFeetAndInches1Pl                    13
  977. #define visFmtFeetAndInches2Pl                    14
  978.  
  979. #define visFmtFraction1PlNoUnits                  15
  980. #define visFmtFraction1PlDefUnits                 16
  981. #define visFmtFraction2PlNoUnits                  17
  982. #define visFmtFraction2PlDefUnits                 18
  983.  
  984. #define visFmtDateShort                           20
  985. #define visFmtDateLong                            21
  986. #define visFmtDateMDYY                            22
  987. #define visFmtDateMMDDYY                          23
  988. #define visFmtDateMmmDYYYY                        24
  989. #define visFmtDateMmmmDYYYY                       25
  990. #define visFmtDateDMYY                            26
  991. #define visFmtDateDDMMYY                          27
  992. #define visFmtDateDMMMYYYY                        28
  993. #define visFmtDateDMMMMYYYY                       29
  994.  
  995. #define visFmtTimeGen                             30
  996. #define visFmtTimeHMM                             31
  997. #define visFmtTimeHHMM                            32
  998. #define visFmtTimeHMM24                           33
  999. #define visFmtTimeHHMM24                          34
  1000. #define visFmtTimeHMMAMPM                         35
  1001. #define visFmtTimeHHMMAMPM                        36
  1002.  
  1003. #define visFmtStrNormal                           37
  1004. #define visFmtStrLower                            38
  1005. #define visFmtStrUpper                            39
  1006.  
  1007. #define visFmtJDategggeXmXdXww                    40
  1008. #define visFmtJDateyyyyXmXdXww                    41
  1009. #define visFmtJDategggeXmXdX                      42
  1010. #define visFmtJDateyyyyXmXdX                      43
  1011. #define visFmtJDateyyyymd                         44
  1012. #define visFmtJDateyymmdd                         45
  1013. #define visFmtJDatehmmaxpx                        46
  1014. #define visFmtJDateaxpxhmm                        47
  1015. #define visFmtJDateaxpxhXmmX                      48
  1016. #define visFmtJDatehXmmX                          49
  1017.  
  1018. #define visFmtCDategggeXmmmmXdddd                 50
  1019. #define visFmtCDateggeXmmmmXdddd                  51
  1020. #define visFmtCDategeXmmmmXdddd                   52
  1021.  
  1022. // Document version codes.
  1023. #define visVersionUnsaved                         0x0
  1024. #define visVersion10                              0x10023
  1025. #define visVersion20                              0x20000
  1026. #define visVersion30                              0x30003
  1027. #define visVersion40                              0x40000
  1028. #define visVersion50                              0x50000
  1029.  
  1030. // Master.AlignName settings.
  1031. #define visLeft                                   1
  1032. #define visCenter                                 2
  1033. #define visRight                                  3
  1034.  
  1035. // Master.ExportIcon flags.
  1036. #define visIconFormatVisio                        0
  1037. #define visIconFormatBMP                          2
  1038.  
  1039. // Master.IconSize settings.
  1040. #define visNormal                                 1
  1041. #define visTall                                   2
  1042. #define visWide                                   3
  1043. #define visDouble                                 4
  1044.  
  1045. // Master.IconUpdate settings.
  1046. #define visAutomatic                              1
  1047. #define visManual                                 0
  1048.  
  1049. // Master.PatternFlags settings.
  1050. #define visMasIsLinePat                           0x1
  1051. #define visMasIsLineEnd                           0x2
  1052. #define visMasIsFillPat                           0x4
  1053.  
  1054. // Flags to use if visMasIsLinePat is set.
  1055. #define visMasLPTileDeform                        0x0
  1056. #define visMasLPTile                              0x10
  1057. #define visMasLPStretch                           0x20
  1058. #define visMasLPAnnotate                          0x30
  1059. #define visMasLPScale                             0x40
  1060.  
  1061. // Flags to use if visMasIsLineEnd is set.
  1062. #define visMasLEDefault                           0x0
  1063. #define visMasLEUpright                           0x100
  1064. #define visMasLEScale                             0x400
  1065.  
  1066. // Flags to use if visMasIsFillPat is set.
  1067. #define visMasFPTile                              0x0
  1068. #define visMasFPCenter                            0x1000
  1069. #define visMasFPStretch                           0x2000
  1070. #define visMasFPScale                             0x4000
  1071.  
  1072. // Codes returned by Connect.FromPart.
  1073. #define visConnectFromError                       -1
  1074. #define visFromNone                               0
  1075. #define visLeftEdge                               1
  1076. #define visCenterEdge                             2
  1077. #define visRightEdge                              3
  1078. #define visBottomEdge                             4
  1079. #define visMiddleEdge                             5
  1080. #define visTopEdge                                6
  1081. #define visBeginX                                 7
  1082. #define visBeginY                                 8
  1083. #define visBegin                                  9
  1084. #define visEndX                                   10
  1085. #define visEndY                                   11
  1086. #define visEnd                                    12
  1087. #define visControlPoint                           100
  1088.  
  1089. // Codes returned by Connect.ToPart.
  1090. #define visConnectToError                         -1
  1091. #define visToNone                                 0
  1092. #define visGuideX                                 1
  1093. #define visGuideY                                 2
  1094. #define visWholeShape                             3
  1095. #define visConnectionPoint                        100
  1096.  
  1097. // Obsolete - Use visConnectFrom/ToError.
  1098. #define visConnectError                           -1
  1099.  
  1100. // Obsolete - Use visFrom/ToNone.
  1101. #define visNone                                   0
  1102.  
  1103. // UI Object Set identifiers.
  1104. #define visUIObjSetNoDocument                     1
  1105. #define visUIObjSetDrawing                        2
  1106. #define visUIObjSetStencil                        3
  1107. #define visUIObjSetShapeSheet                     4
  1108. #define visUIObjSetIcon                           5
  1109. #define visUIObjSetInPlace                        6
  1110. #define visUIObjSetPrintPreview                   7
  1111. #define visUIObjSetText                           8
  1112. #define visUIObjSetCntx_DrawObjSel                9
  1113. #define visUIObjSetCntx_DrawOleObjSel             10
  1114. #define visUIObjSetCntx_DrawNoObjSel              11
  1115. #define visUIObjSetCntx_InPlaceNoObj              12
  1116. #define visUIObjSetCntx_TextEdit                  13
  1117. #define visUIObjSetCntx_StencilRO                 14
  1118. #define visUIObjSetCntx_ShapeSheet                15
  1119. #define visUIObjSetCntx_Toolbar                   16
  1120. #define visUIObjSetCntx_FullScreen                17
  1121. #define visUIObjSetBinderInPlace                  18
  1122. #define visUIObjSetCntx_Debug                     19
  1123. #define visUIObjSetCntx_StencilRW                 20
  1124. #define visUIObjSetCntx_StencilDocked             21
  1125. #define visUIObjSetHostingInPlace                 22
  1126. #define visUIObjSetCntx_Hyperlink                 23
  1127. #define visUIObjSetPal_LineColors                 24
  1128. #define visUIObjSetPal_LineWeights                25
  1129. #define visUIObjSetPal_LinePatterns               26
  1130. #define visUIObjSetPal_FillColors                 27
  1131. #define visUIObjSetPal_FillPatterns               28
  1132. #define visUIObjSetPal_TextColors                 29
  1133. #define visUIObjSetPal_AlignShapes                30
  1134. #define visUIObjSetPal_DistributeShapes           31
  1135. #define visUIObjSetPal_Shadow                     32
  1136. #define visUIObjSetPal_LineEnds                   33
  1137. #define visUIObjSetPal_CornerRounding             34
  1138.  
  1139. // Command numbers to be used with CmdNum property.
  1140. #define visCmdHierarchical                        200
  1141. #define visCmdFileNew                             1001
  1142. #define visCmdFileOpen                            1002
  1143. #define visCmdFileClose                           1003
  1144. #define visCmdFileSave                            1004
  1145. #define visCmdFileSaveAs                          1005
  1146. #define visCmdFileSaveWorkspace                   1006
  1147. #define visCmdFileImport                          1007
  1148. #define visCmdFileSummaryInfoDlg                  1009
  1149. #define visCmdFilePrint                           1010
  1150. #define visCmdFileExit                            1016
  1151. #define visCmdEditUndo                            1017
  1152. #define visCmdEditRedo                            1018
  1153. #define visCmdEditRepeat                          1019
  1154. #define visCmdUFEditCut                           1020
  1155. #define visCmdUFEditCopy                          1021
  1156. #define visCmdUFEditPaste                         1022
  1157. #define visCmdUFEditClear                         1023
  1158. #define visCmdUFEditDuplicate                     1024
  1159. #define visCmdUFEditSelectAll                     1025
  1160. #define visCmdEditSelectSpecial                   1026
  1161. #define visCmdEditPasteSpecial                    1027
  1162. #define visCmdEditOpenObject                      1029
  1163. #define visCmdEditLinks                           1030
  1164. #define visCmdEditInsertObject                    1031
  1165. #define visCmdEditInsertField                     1032
  1166. #define visCmdViewFitInWindow                     1033
  1167. #define visCmdView75                              1034
  1168. #define visCmdView100                             1035
  1169. #define visCmdView150                             1036
  1170. #define visCmdView200                             1037
  1171. #define visCmdViewCustom                          1038
  1172. #define visCmdViewRulers                          1039
  1173. #define visCmdViewGrid                            1040
  1174. #define visCmdViewGuides                          1041
  1175. #define visCmdViewConnections                     1042
  1176. #define visCmdEditFind                            1043
  1177. #define visCmdViewStatusBar                       1044
  1178. #define visCmdObjectBringForward                  1045
  1179. #define visCmdObjectBringToFront                  1046
  1180. #define visCmdObjectSendBackward                  1047
  1181. #define visCmdObjectSendToBack                    1048
  1182. #define visCmdObjectAlignObjects                  1049
  1183. #define visCmdObjectConnectObjects                1050
  1184. #define visCmdObjectGroup                         1051
  1185. #define visCmdObjectUngroup                       1052
  1186. #define visCmdObjectAddToGroup                    1053
  1187. #define visCmdObjectRemoveFromGroup               1054
  1188. #define visCmdObjectConvertToGroup                1055
  1189. #define visCmdObjectRotate90                      1056
  1190. #define visCmdObjectFlipVertical                  1057
  1191. #define visCmdObjectFlipHorizontal                1058
  1192. #define visCmdObjectReverse                       1059
  1193. #define visCmdObjectUnion                         1060
  1194. #define visCmdObjectCombine                       1061
  1195. #define visCmdObjectFragment                      1062
  1196. #define visCmdFormatStyle                         1063
  1197. #define visCmdFormatDefineStyles                  1064
  1198. #define visCmdFormatLine                          1065
  1199. #define visCmdFormatFill                          1066
  1200. #define visCmdFormatText                          1067
  1201. #define visCmdFormatFont                          1067
  1202. #define visCmdFormatParagraph                     1068
  1203. #define visCmdFormatTabs                          1069
  1204. #define visCmdFormatBlock                         1070
  1205. #define visCmdFormatBehavior                      1071
  1206. #define visCmdFormatProtection                    1072
  1207. #define visCmdFormatSpecial                       1073
  1208. #define visCmdOptionsEditDrawing                  1074
  1209. #define visCmdOptionsEditBackground               1075
  1210. #define visCmdOptionsPageSetup                    1076
  1211. #define visCmdOptionsGoToDrawing                  1077
  1212. #define visCmdOptionsNewPage                      1078
  1213. #define visCmdOptionsDeletePages                  1079
  1214. #define visCmdOptionsReorderPages                 1080
  1215. #define visCmdOptionsPreferences                  1081
  1216. #define visCmdOptionsColorPaletteDlg              1082
  1217. #define visCmdOptionsProtectDocument              1083
  1218. #define visCmdOptionsSnapGlueSetup                1084
  1219. #define visCmdWindowNewWindow                     1085
  1220. #define visCmdWindowCascadeAll                    1086
  1221. #define visCmdWindowTileAll                       1087
  1222. #define visCmdWindowShowShapeSheet                1088
  1223. #define visCmdWindowShowMasterObjects             1089
  1224. #define visCmdRunAddOnMenu                        1090
  1225. #define visCmdWindowShowDrawPage                  1091
  1226. #define visCmdHelpContents                        1092
  1227. #define visCmdDecreaseIndent                      1093
  1228. #define visCmdIncreaseIndent                      1094
  1229. #define visCmdDecreaseParaSpacing                 1095
  1230. #define visCmdIncreaseParaSpacing                 1096
  1231. #define visCmdTextRotate90                        1098
  1232. #define visCmdHelpAboutVisio                      1100
  1233. #define visCmdStenEditIcon                        1101
  1234. #define visCmdStenEditDrawing                     1102
  1235. #define visCmdStenNameMaster                      1103
  1236. #define visCmdStenNewMaster                       1104
  1237. #define visCmdStenImageMaster                     1105
  1238. #define visCmdStenCleanup                         1106
  1239. #define visCmdSWShowValues                        1107
  1240. #define visCmdSWShowFormulas                      1108
  1241. #define visCmdSWShowSectionsDlg                   1109
  1242. #define visCmdSWPasteNameDlg                      1110
  1243. #define visCmdSWPasteFunctionDlg                  1111
  1244. #define visCmdSWInsertRow                         1112
  1245. #define visCmdSWInsertRowAfter                    1113
  1246. #define visCmdSWChangeRowTypeDlg                  1114
  1247. #define visCmdSWDeleteRow                         1115
  1248. #define visCmdSWAddSectionDlg                     1116
  1249. #define visCmdSWDeleteSection                     1117
  1250. #define visCmdFormatDoubleClick                   1118
  1251. #define visCmdDrawLineStyle                       1122
  1252. #define visCmdDrawFillStyle                       1123
  1253. #define visCmdDrawSnap                            1124
  1254. #define visCmdDrawGlue                            1125
  1255. #define visCmdDrawZoom                            1126
  1256. #define visCmdTextStyle                           1128
  1257. #define visCmdTextFont                            1129
  1258. #define visCmdTextSize                            1130
  1259. #define visCmdTextBold                            1131
  1260. #define visCmdTextItalic                          1132
  1261. #define visCmdTextSmallCaps                       1133
  1262. #define visCmdTextSuperscript                     1134
  1263. #define visCmdTextSubscript                       1135
  1264. #define visCmdTextUline                           1136
  1265. #define visCmdSWCancel                            1139
  1266. #define visCmdSWAccept                            1140
  1267. #define visCmdSWFormula                           1141
  1268. #define visCmdSWShowToggle                        1142
  1269. #define visCmdIconLeftColor                       1143
  1270. #define visCmdIconPencilTool                      1145
  1271. #define visCmdRecalcObjectWH                      1146
  1272. #define visCmdTurnToPrevPage                      1147
  1273. #define visCmdTurnToNextPage                      1148
  1274. #define visCmdEditReplace                         1179
  1275. #define visCmdAlignObjectLeft                     1196
  1276. #define visCmdAlignObjectCenter                   1197
  1277. #define visCmdAlignObjectRight                    1198
  1278. #define visCmdAlignObjectTop                      1199
  1279. #define visCmdAlignObjectMiddle                   1200
  1280. #define visCmdAlignObjectBottom                   1201
  1281. #define visCmdCenterDrawing                       1202
  1282. #define visCmdDeselectAll                         1213
  1283. #define visCmdTextEditState                       1214
  1284. #define visCmdZoomIn                              1216
  1285. #define visCmdZoomOut                             1217
  1286. #define visCmdDRPointerTool                       1219
  1287. #define visCmdDRPencilTool                        1220
  1288. #define visCmdDRLineTool                          1221
  1289. #define visCmdDRQtrArcTool                        1222
  1290. #define visCmdDRRectTool                          1223
  1291. #define visCmdDROvalTool                          1224
  1292. #define visCmdDRConnectorTool                     1225
  1293. #define visCmdDRConnectionTool                    1226
  1294. #define visCmdDRTextTool                          1227
  1295. #define visCmdDRRotateTool                        1228
  1296. #define visCmdObjectDistributeDlg                 1230
  1297. #define visCmdDistributeHSpace                    1231
  1298. #define visCmdDistributeCenter                    1233
  1299. #define visCmdDistributeVSpace                    1235
  1300. #define visCmdDistributeMiddle                    1237
  1301. #define visCmdDlgLotusNotesFields                 1245
  1302. #define visCmdToolsSpelling                       1270
  1303. #define visCmdFormatPainter                       1271
  1304. #define visCmdStenFloating                        1274
  1305. #define visCmdView50                              1279
  1306. #define visCmdView400                             1280
  1307. #define visCmdSendAsMail                          1292
  1308. #define visCmdShapeActions                        1309
  1309. #define visCmdDRSplineTool                        1311
  1310. #define visCmdFormatCustPropEdit                  1312
  1311. #define visCmdRulerGridDlg                        1318
  1312. #define visCmdFormatShadow                        1333
  1313. #define visCmdFormatCorners                       1334
  1314. #define visCmdToolsInventory                      1335
  1315. #define visCmdPageSizeScale                       1076
  1316. #define visCmdStenSwitchSides                     1342
  1317. #define visCmdToolsArrayShapesAddOn               1354
  1318. #define visCmdSetLineWeight                       1355
  1319. #define visCmdSetLinePattern                      1356
  1320. #define visCmdSetLineEnds                         1357
  1321. #define visCmdSetLineCornerStyle                  1358
  1322. #define visCmdSetLineColor                        1359
  1323. #define visCmdCloseWindow                         1361
  1324. #define visCmdSetFillShadow                       1379
  1325. #define visCmdSetFillColor                        1385
  1326. #define visCmdHelpMode                            1386
  1327. #define visCmdOffsetDlg                           1387
  1328. #define visCmdDesignMode                          1388
  1329. #define visCmdShapeExplorer                       1389
  1330. #define visCmdSetFillPattern                      1399
  1331. #define visCmdSetCharColor                        1404
  1332. #define visCmdSetCharSizeUp                       1405
  1333. #define visCmdSetCharSizeDown                     1406
  1334. #define visCmdTextHAlignLeft                      1407
  1335. #define visCmdTextHAlignCenter                    1408
  1336. #define visCmdTextHAlignRight                     1409
  1337. #define visCmdTextHAlignJustify                   1412
  1338. #define visCmdTextVAlignTop                       1413
  1339. #define visCmdTextVAlignMiddle                    1414
  1340. #define visCmdTextVAlignBottom                    1422
  1341. #define visCmdStampTool                           1424
  1342. #define visCmdObjectInfoDlg                       1425
  1343. #define visCmdObjectHelp                          1428
  1344. #define visCmdFileOpenStencil                     1442
  1345. #define visCmdPrintPage                           1443
  1346. #define visCmdSWShapeActionDlg                    1444
  1347. #define visCmdLayerDlg                            1446
  1348. #define visCmdLayerSetupDlg                       1448
  1349. #define visCmdCropTool                            1449
  1350. #define visCmdTextBlockTool                       1451
  1351. #define visCmdStenClose                           1452
  1352. #define visCmdIntersect                           1453
  1353. #define visCmdSubtract                            1454
  1354. #define visCmdStenActivate                        1458
  1355. #define visCmdStenIconAndName                     1480
  1356. #define visCmdStenIconOnly                        1481
  1357. #define visCmdStenNameOnly                        1482
  1358. #define visCmdStenAutoArrange                     1483
  1359. #define visCmdPrintPreview                        1490
  1360. #define visCmdOpenInVisio                         1491
  1361. #define visCmdFullScreenMode                      1492
  1362. #define visCmdRotate90Clockwise                   1494
  1363. #define visCmdZoomLast                            1495
  1364. #define visCmdZoomPageWidth                       1496
  1365. #define visCmdToolbarsDlg                         1500
  1366. #define visCmdINETAddToFavorites                  1506
  1367. #define visCmdViewPageBreaks                      1509
  1368. #define visCmdZoomSingleTile                      1512
  1369. #define visCmdPreviousTile                        1513
  1370. #define visCmdNextTile                            1514
  1371. #define visCmdFirstTile                           1515
  1372. #define visCmdLastTile                            1516
  1373. #define visCmdInsertAutoCADAddOn                  1521
  1374. #define visCmdInsertControlDlg                    1522
  1375. #define visCmdJoin                                1533
  1376. #define visCmdTrim                                1534
  1377. #define visCmdDlgCustomFit                        1536
  1378. #define visCmdFitCurve                            1538
  1379. #define visCmdIconBucketTool                      1543
  1380. #define visCmdIconLassoTool                       1544
  1381. #define visCmdIconSelectNet                       1545
  1382. #define visCmdToolsLayoutShapesDlg                1574
  1383. #define visCmdToolsRunVBE                         1576
  1384. #define visCmdToolsMacroDlg                       1577
  1385. #define visCmdFileNewBlankDrawing                 1579
  1386. #define visCmdFileNewBlankStencil                 1582
  1387. #define visCmdProgRefHelp                         1584
  1388. #define visCmdInsertHyperLink                     1585
  1389. #define visCmdHelpTemplates                       1586
  1390. #define visCmdEmailRouting                        1588
  1391. #define visCmdSendToExchange                      1589
  1392. #define visCmdINETUserSearchPage                  1595
  1393. #define visCmdINETVisioHomePage                   1596
  1394. #define visCmdINETGoForward                       1598
  1395. #define visCmdINETGoBack                          1599
  1396. #define visCmdOpenActiveObject                    1601
  1397. #define visCmdCancelInPlaceEditing                1602
  1398. #define visCmdINETVisioSolutionsLibrary           1604
  1399. #define visCmdINETKnowledgeBase                   1605
  1400. #define visCmdINETDiagrammingResources            1606
  1401. #define visCmdINETOpenHlink                       1607
  1402. #define visCmdINETOpenHlinkNewWnd                 1608
  1403. #define visCmdINETCopyHyperlink                   1610
  1404. #define visCmdHyperlinkHier                       1611
  1405. #define visCmdINETEditHyperlink                   1619
  1406. #define visCmdINETPasteAsHyperlink                1620
  1407. #define visCmdBullets                             1633
  1408. #define visCmdShapeLayerToolbar                   1634
  1409. #define visCmdGoToPageToolbar                     1635
  1410. #define visCmdFormatAllTextProps                  1642
  1411. #define visCmdBrowseSampleDrawings                1645
  1412.  
  1413. // Toolbar and Status Bar constants for CtrlType property.
  1414. #define visCtrlTypeEND                            0x0
  1415. #define visCtrlTypeSTATE                          0x1
  1416. #define visCtrlTypeBUTTON                         0x2
  1417. #define visCtrlTypeSTATE_BUTTON                   0x3
  1418. #define visCtrlTypePALETTEBUTTON                  0x10
  1419. #define visCtrlTypeHIERBUTTON                     0x4
  1420. #define visCtrlTypeSTATE_HIERBUTTON               0x5
  1421. #define visCtrlTypeDROPBUTTON                     0x8
  1422. #define visCtrlTypeSTATE_DROPBUTTON               0x9
  1423. #define visCtrlTypeSPINBUTTON                     0x10
  1424. #define visCtrlTypePUSHBUTTON                     0x20
  1425. #define visCtrlTypeOWNERDRAW_BUTTON               0x21
  1426. #define visCtrlTypeEDITBOX                        0x40
  1427. #define visCtrlTypeCOMBOBOX                       0x80
  1428. #define visCtrlTypeCOMBODRAW                      0x100
  1429. #define visCtrlTypeLISTBOX                        0x200
  1430. #define visCtrlTypeLISTBOXDRAW                    0x201
  1431. #define visCtrlTypeCOLORBOX                       0x400
  1432. #define visCtrlTypeLABEL                          0x800
  1433. #define visCtrlTypeMESSAGE                        0x1000
  1434. #define visCtrlTypeSPACER                         0x4000
  1435.  
  1436. // Toolbar and Status Bar constants for Spacing property.
  1437. #define visCtrlSpacingNONE                        0x0
  1438. #define visCtrlSpacingVARIABLE_BEFORE             0x1
  1439. #define visCtrlSpacingVARIABLE_AFTER              0x2
  1440. #define visCtrlSpacingFIXED_BEFORE                0x4
  1441. #define visCtrlSpacingFIXED_AFTER                 0x8
  1442. #define visCtrlSpacingNEW_ROW                     0x10
  1443. #define visCtrlSpacingTB_NOTFIXED                 0x20
  1444. #define visCtrlSpacingPALETTERIGHT                0x40
  1445. #define visCtrlSpacingNEW_ROW_PALETTERIGHT        0x50
  1446.  
  1447. // Toolbar and Status Bar constants for control alignment.
  1448. #define visCtrlAlignmentLEFT                      0x1
  1449. #define visCtrlAlignmentCENTER                    0x2
  1450. #define visCtrlAlignmentRIGHT                     0x4
  1451. #define visCtrlAlignmentBOX                       0x80
  1452. #define visCtrlAlignmentLEFTBOX                   0x81
  1453. #define visCtrlAlignmentCENTERBOX                 0x82
  1454. #define visCtrlAlignmentRIGHTBOX                  0x84
  1455.  
  1456. // Toolbar and Status Bar constants for CntrlID property.
  1457. #define visCtrlIDNEW                              8383
  1458. #define visCtrlIDOPEN                             1
  1459. #define visCtrlIDOPENSTEN                         2
  1460. #define visCtrlIDSAVE                             3
  1461. #define visCtrlIDPRINT                            4
  1462. #define visCtrlIDPREVIEW                          5
  1463. #define visCtrlIDCUT                              6
  1464. #define visCtrlIDCOPY                             7
  1465. #define visCtrlIDPASTE                            8
  1466. #define visCtrlIDCLEAR                            9
  1467. #define visCtrlIDUNDO                             10
  1468. #define visCtrlIDREDO                             11
  1469. #define visCtrlIDREPEAT                           12
  1470. #define visCtrlIDPREVIOUSPAGE                     13
  1471. #define visCtrlIDNEXTPAGE                         14
  1472. #define visCtrlIDZOOMOUT                          15
  1473. #define visCtrlIDZOOMIN                           16
  1474. #define visCtrlIDZOOM100                          17
  1475. #define visCtrlIDFLIPHORZ                         18
  1476. #define visCtrlIDFLIPVERT                         19
  1477. #define visCtrlIDPOINTERTOOL                      20
  1478. #define visCtrlIDPENCILTOOL                       21
  1479. #define visCtrlIDLINETOOL                         22
  1480. #define visCtrlIDQTRARCTOOL                       23
  1481. #define visCtrlIDRECTTOOL                         24
  1482. #define visCtrlIDOVALTOOL                         25
  1483. #define visCtrlIDSTAMPTOOL                        26
  1484. #define visCtrlIDTEXTTOOL                         27
  1485. #define visCtrlIDROTATETOOL                       28
  1486. #define visCtrlIDCROPTOOL                         29
  1487. #define visCtrlIDCONNECTIONPTTOOL                 30
  1488. #define visCtrlIDSNAP                             31
  1489. #define visCtrlIDGLUE                             32
  1490. #define visCtrlIDRULER                            33
  1491. #define visCtrlIDGRID                             34
  1492. #define visCtrlIDGUIDE                            35
  1493. #define visCtrlIDCONNECT                          36
  1494. #define visCtrlIDROTATECLOCKWISE                  37
  1495. #define visCtrlIDROTATECOUNTER                    38
  1496. #define visCtrlIDNEWWINDOW                        39
  1497. #define visCtrlIDCORNERSTYLE                      40
  1498. #define visCtrlIDLINEEND                          41
  1499. #define visCtrlIDSHADOWSTYLE                      42
  1500. #define visCtrlIDFILLCOLOR                        43
  1501. #define visCtrlIDLINECOLOR                        44
  1502. #define visCtrlIDLINEWEIGHT                       45
  1503. #define visCtrlIDLINEPATTERN                      46
  1504. #define visCtrlIDFILLPATTERN                      47
  1505. #define visCtrlIDPOINTSIZEDOWN                    48
  1506. #define visCtrlIDPOINTSIZEUP                      49
  1507. #define visCtrlIDBOLD                             50
  1508. #define visCtrlIDITALIC                           51
  1509. #define visCtrlIDULINE                            52
  1510. #define visCtrlIDSUPERSCRIPT                      53
  1511. #define visCtrlIDSUBSCRIPT                        54
  1512. #define visCtrlIDTEXTCOLOR                        55
  1513. #define visCtrlIDTEXTLEFT                         56
  1514. #define visCtrlIDTEXTCENTER                       57
  1515. #define visCtrlIDTEXTRIGHT                        58
  1516. #define visCtrlIDTEXTJUSTIFY                      59
  1517. #define visCtrlIDTEXTTOP                          60
  1518. #define visCtrlIDTEXTMIDDLE                       61
  1519. #define visCtrlIDTEXTBOTTOM                       62
  1520. #define visCtrlIDALIGN                            63
  1521. #define visCtrlIDALIGNLEFT                        64
  1522. #define visCtrlIDALIGNCENTER                      65
  1523. #define visCtrlIDALIGNRIGHT                       66
  1524. #define visCtrlIDALIGNTOP                         67
  1525. #define visCtrlIDALIGNMIDDLE                      68
  1526. #define visCtrlIDALIGNBOTTOM                      69
  1527. #define visCtrlIDDISTRIBUTE                       70
  1528. #define visCtrlIDDHORZ_EQSPACE                    71
  1529. #define visCtrlIDDHORZ_CENTER                     72
  1530. #define visCtrlIDDVERT_EQSPACE                    73
  1531. #define visCtrlIDDVERT_MIDDLE                     74
  1532. #define visCtrlIDCONNECTSHAPES                    75
  1533. #define visCtrlIDFIRSTPAGE                        76
  1534. #define visCtrlIDLASTPAGE                         77
  1535. #define visCtrlIDPAGEBREAKS                       78
  1536. #define visCtrlIDICONNAME                         80
  1537. #define visCtrlIDICONONLY                         81
  1538. #define visCtrlIDNAMEONLY                         82
  1539. #define visCtrlIDARRANGEICONS                     83
  1540. #define visCtrlIDCANCELFORMULA                    84
  1541. #define visCtrlIDACCEPTFORMULA                    85
  1542. #define visCtrlIDICONPENCIL                       86
  1543. #define visCtrlIDICONBUCKET                       87
  1544. #define visCtrlIDICONLASSO                        88
  1545. #define visCtrlIDICONSELNET                       89
  1546. #define visCtrlIDBRINGFRONT                       90
  1547. #define visCtrlIDSENDBACK                         91
  1548. #define visCtrlIDGROUP                            92
  1549. #define visCtrlIDUNGROUP                          93
  1550. #define visCtrlIDCASCADE                          94
  1551. #define visCtrlIDTILE                             95
  1552. #define visCtrlIDCONNECTORTOOL                    96
  1553. #define visCtrlIDTEXTBLOCKTOOL                    97
  1554. #define visCtrlIDWHOLEPAGE                        98
  1555. #define visCtrlIDSINGLETILE                       99
  1556. #define visCtrlIDFORMULA                          190
  1557. #define visCtrlIDSPACER                           191
  1558. #define visCtrlIDALLSTYLESCOMBO                   200
  1559. #define visCtrlIDTEXTSTYLECOMBO                   201
  1560. #define visCtrlIDLINESTYLECOMBO                   202
  1561. #define visCtrlIDFILLSTYLECOMBO                   203
  1562. #define visCtrlIDZOOMCOMBO                        204
  1563. #define visCtrlIDFONTCOMBO                        205
  1564. #define visCtrlIDPOINTSIZECOMBO                   206
  1565. #define visCtrlIDALLSTYLESLIST                    220
  1566. #define visCtrlIDTEXTSTYLELIST                    221
  1567. #define visCtrlIDLINESTYLELIST                    222
  1568. #define visCtrlIDFILLSTYLELIST                    223
  1569. #define visCtrlIDZOOMLIST                         224
  1570. #define visCtrlIDFONTLIST                         225
  1571. #define visCtrlIDPOINTSIZELIST                    226
  1572. #define visCtrlIDGOTOPAGELIST                     227
  1573. #define visCtrlIDCLOSE                            240
  1574. #define visCtrlIDLEFTCOLORBOX                     300
  1575. #define visCtrlIDRIGHTCOLORBOX                    301
  1576. #define visCtrlIDCOLOR1                           302
  1577. #define visCtrlIDCOLOR2                           303
  1578. #define visCtrlIDCOLOR3                           304
  1579. #define visCtrlIDCOLOR4                           305
  1580. #define visCtrlIDCOLOR5                           306
  1581. #define visCtrlIDCOLOR6                           307
  1582. #define visCtrlIDCOLOR7                           308
  1583. #define visCtrlIDCOLOR8                           309
  1584. #define visCtrlIDCOLOR9                           310
  1585. #define visCtrlIDCOLOR10                          311
  1586. #define visCtrlIDCOLOR11                          312
  1587. #define visCtrlIDCOLOR12                          313
  1588. #define visCtrlIDCOLOR13                          314
  1589. #define visCtrlIDCOLOR14                          315
  1590. #define visCtrlIDCOLOR15                          316
  1591. #define visCtrlIDCOLOR16                          317
  1592. #define visCtrlIDTRANSPARENT                      318
  1593. #define visCtrlIDALLSTYLESLABEL                   400
  1594. #define visCtrlIDTEXTSTYLELABEL                   401
  1595. #define visCtrlIDLINESTYLELABEL                   402
  1596. #define visCtrlIDFILLSTYLELABEL                   403
  1597. #define visCtrlIDZOOMLABEL                        404
  1598. #define visCtrlIDFONTLABEL                        405
  1599. #define visCtrlIDPOINTSIZELABEL                   406
  1600. #define visCtrlIDLEFTCOLORLABEL                   407
  1601. #define visCtrlIDRIGHTCOLORLABEL                  408
  1602. #define visCtrlIDSTATUSLABEL                      409
  1603. #define visCtrlIDPREVIEWLABEL                     410
  1604. #define visCtrlIDSTATUSREADOUT                    500
  1605. #define visCtrlIDSTATUSMSG_1                      501
  1606. #define visCtrlIDSTATUSMSG_2                      502
  1607. #define visCtrlIDSTATUSMSG_3                      503
  1608. #define visCtrlIDSTATUSMSG_4                      504
  1609. #define visCtrlIDSTATUSMSG_5                      505
  1610. #define visCtrlIDSTATUSMSG_6                      506
  1611. #define visCtrlIDSTATUSMSG_7                      507
  1612. #define visCtrlIDSTATUSMSG_8                      508
  1613. #define visCtrlIDSTATUSMSG_9                      509
  1614. #define visCtrlIDSPLINETOOL                       79
  1615. #define visCtrlIDSPELLING                         100
  1616. #define visCtrlIDFORMATPAINTER                    101
  1617. #define visCtrlIDHELPMODE                         102
  1618. #define visCtrlIDLAYERPROPERTIES                  103
  1619. #define visCtrlIDLAYOUTSHAPES                     104
  1620. #define visCtrlIDINSERTHYPERLINK                  105
  1621. #define visCtrlIDSEARCHTHEWEB                     106
  1622. #define visCtrlIDGOBACK                           107
  1623. #define visCtrlIDGOFORWARD                        108
  1624. #define visCtrlIDWEBTOOLBAR                       109
  1625. #define visCtrlIDSHAPEEXPL                        110
  1626. #define visCtrlIDCUSTPROP                         111
  1627. #define visCtrlIDROTATETEXT                       112
  1628. #define visCtrlIDBULLETS                          113
  1629. #define visCtrlIDDECRINDENT                       114
  1630. #define visCtrlIDINCRINDENT                       115
  1631. #define visCtrlIDDECRPARA                         116
  1632. #define visCtrlIDINCRPARA                         117
  1633. #define visCtrlIDINSERTCONTROL                    118
  1634. #define visCtrlIDDESIGNMODE                       119
  1635. #define visCtrlIDSHAPESHEET                       120
  1636. #define visCtrlIDSHAPELAYER                       247
  1637. #define visCtrlIDGOTOPAGE                         207
  1638. #define visCtrlIDLINECOLORS                       241
  1639. #define visCtrlIDLINEWEIGHTS                      242
  1640. #define visCtrlIDLINEPATTERNS                     243
  1641. #define visCtrlIDFILLCOLORS                       244
  1642. #define visCtrlIDFILLPATTERNS                     245
  1643. #define visCtrlIDTEXTCOLORS                       246
  1644. #define visCtrlIDMACROS                           121
  1645. #define visCtrlIDVBEDITOR                         122
  1646. #define visCtrlIDSHAPELAYERCOMBO                  208
  1647. #define visCtrlIDSHAPELAYERLIST                   228
  1648. #define visCtrlIDALIGNSHAPES                      260
  1649. #define visCtrlIDDISTRIBUTESHAPES                 261
  1650. #define visCtrlIDMSG_PAGES                        510
  1651.  
  1652. // Toolbar and Status Bar icon identifiers.
  1653. #define visIconIXNEW                              0
  1654. #define visIconIXOPEN                             1
  1655. #define visIconIXOPENSTENCIL                      2
  1656. #define visIconIXSAVE                             3
  1657. #define visIconIXPRINT                            4
  1658. #define visIconIXPRINTPREVIEW                     5
  1659. #define visIconIXCUT                              6
  1660. #define visIconIXCOPY                             7
  1661. #define visIconIXPASTE                            8
  1662. #define visIconIXCLEAR                            9
  1663. #define visIconIXUNDO                             10
  1664. #define visIconIXREDO                             11
  1665. #define visIconIXREPEAT                           12
  1666. #define visIconIXPREVIOUSPAGE                     13
  1667. #define visIconIXNEXTPAGE                         14
  1668. #define visIconIXZOOMOUT                          15
  1669. #define visIconIXZOOMIN                           16
  1670. #define visIconIXZOOM100                          17
  1671. #define visIconIXFLIPHORIZONTAL                   18
  1672. #define visIconIXFLIPVERTICAL                     19
  1673. #define visIconIXPOINTERTOOL                      20
  1674. #define visIconIXPENCILTOOL                       21
  1675. #define visIconIXLINETOOL                         22
  1676. #define visIconIXQTRARCTOOL                       23
  1677. #define visIconIXRECTANGLETOOL                    24
  1678. #define visIconIXOVALTOOL                         25
  1679. #define visIconIXSTAMPTOOL                        26
  1680. #define visIconIXTEXTOOL                          27
  1681. #define visIconIXROTATETOOL                       28
  1682. #define visIconIXCROP                             29
  1683. #define visIconIXCONNECTIONPTTOOL                 30
  1684. #define visIconIXSNAP                             31
  1685. #define visIconIXGLUE                             32
  1686. #define visIconIXRULER                            33
  1687. #define visIconIXGRID                             34
  1688. #define visIconIXGUIDE                            35
  1689. #define visIconIXCONNECTIONPOINTS                 36
  1690. #define visIconIXROTATECLOCKWISE                  37
  1691. #define visIconIXROTATECOUNTERCLOCKWISE           38
  1692. #define visIconIXNEWWINDOW                        39
  1693. #define visIconIXCORNERSTYLE                      40
  1694. #define visIconIXLINEEND                          41
  1695. #define visIconIXSHADOWSTYLE                      42
  1696. #define visIconIXFILLCOLOR                        43
  1697. #define visIconIXLINECOLOR                        44
  1698. #define visIconIXLINEWEIGHT                       45
  1699. #define visIconIXLINEPATTERN                      46
  1700. #define visIconIXFILLPATTERN                      47
  1701. #define visIconIXPOINTSIZEDOWN                    48
  1702. #define visIconIXPOINTSIZEUP                      49
  1703. #define visIconIXBOLD                             50
  1704. #define visIconIXITALIC                           51
  1705. #define visIconIXUNDERLINE                        52
  1706. #define visIconIXSUPERSCRIPT                      53
  1707. #define visIconIXSUBSCRIPT                        54
  1708. #define visIconIXTEXTCOLOR                        55
  1709. #define visIconIXTEXTALIGNLEFT                    56
  1710. #define visIconIXTEXTALIGNCENTER                  57
  1711. #define visIconIXTEXTALIGNRIGHT                   58
  1712. #define visIconIXTEXTALIGNJUSTIFY                 59
  1713. #define visIconIXTEXTALIGNTOP                     60
  1714. #define visIconIXTEXTALIGNMIDDLE                  61
  1715. #define visIconIXTEXTALIGNBOTTOM                  62
  1716. #define visIconIXALIGN                            63
  1717. #define visIconIXALIGNLEFT                        64
  1718. #define visIconIXALIGNCENTER                      65
  1719. #define visIconIXALIGNRIGHT                       66
  1720. #define visIconIXALIGNTOP                         67
  1721. #define visIconIXALIGNMIDDLE                      68
  1722. #define visIconIXALIGNBOTTOM                      69
  1723. #define visIconIXDISTRIBUTE                       70
  1724. #define visIconIXDHORZ_EQSPACE                    71
  1725. #define visIconIXDHORZ_CENTER                     72
  1726. #define visIconIXDVERT_EQSPACE                    73
  1727. #define visIconIXDVERT_MIDDLE                     74
  1728. #define visIconIXCONNECTSHAPES                    75
  1729. #define visIconIXFIRSTPAGE                        76
  1730. #define visIconIXLASTPAGE                         77
  1731. #define visIconIXPAGEBREAKS                       78
  1732. #define visIconIXSPLINETOOL                       79
  1733. #define visIconIXICONNAME                         80
  1734. #define visIconIXICONONLY                         81
  1735. #define visIconIXNAMEONLY                         82
  1736. #define visIconIXARRANGE                          83
  1737. #define visIconIXCANCEL                           84
  1738. #define visIconIXACCEPT                           85
  1739. #define visIconIXICONPENCIL                       86
  1740. #define visIconIXICONBUCKET                       87
  1741. #define visIconIXICONLASSO                        88
  1742. #define visIconIXICONSELNET                       89
  1743. #define visIconIXBRINGFRONT                       90
  1744. #define visIconIXSENDBACK                         91
  1745. #define visIconIXGROUP                            92
  1746. #define visIconIXUNGROUP                          93
  1747. #define visIconIXCASCADE                          94
  1748. #define visIconIXTILE                             95
  1749. #define visIconIXCONNECTORTOOL                    96
  1750. #define visIconIXTEXTBLOCKTOOL                    97
  1751. #define visIconIXWHOLEPAGE                        98
  1752. #define visIconIXSINGLETILE                       99
  1753. #define visIconIXSPELLING                         100
  1754. #define visIconIXFORMATPAINTER                    101
  1755. #define visIconIXHELPMODE                         102
  1756. #define visIconIXLAYERPROPERTIES                  103
  1757. #define visIconIXLAYOUTSHAPES                     104
  1758. #define visIconIXINSERTHYPERLINK                  105
  1759. #define visIconIXSEARCHTHEWEB                     106
  1760. #define visIconIXGOBACK                           107
  1761. #define visIconIXGOFORWARD                        108
  1762. #define visIconIXWEBTOOLBAR                       109
  1763. #define visIconIXSHAPEEXPL                        110
  1764. #define visIconIXCUSTPROP                         111
  1765. #define visIconIXROTATETEXT                       112
  1766. #define visIconIXBULLETS                          113
  1767. #define visIconIXDECRINDENT                       114
  1768. #define visIconIXINCRINDENT                       115
  1769. #define visIconIXDECRPARA                         116
  1770. #define visIconIXINCRPARA                         117
  1771. #define visIconIXINSERTCONTROL                    118
  1772. #define visIconIXDESIGNMODE                       119
  1773. #define visIconIXSHAPESHEET                       120
  1774. #define visIconIXMACROS                           121
  1775. #define visIconIXVBEDITOR                         122
  1776.  
  1777. // Toolbar and Status Bar string identifiers.
  1778. #define visStrIDBASESTRINGID                      2000
  1779. #define visStrIDALLSTYLES                         2000
  1780. #define visStrIDTEXTSTYLE                         2001
  1781. #define visStrIDLINESTYLE                         2002
  1782. #define visStrIDFILLSTYLE                         2003
  1783. #define visStrIDZOOM                              2004
  1784. #define visStrIDFONT                              2005
  1785. #define visStrIDPOINTSIZE                         2006
  1786. #define visStrIDLEFTCOLOR                         2007
  1787. #define visStrIDRIGHTCOLOR                        2008
  1788. #define visStrIDSTATUS                            2009
  1789. #define visStrIDPRINTPREVIEW                      2010
  1790. #define visStrIDTEXTEDIT                          2011
  1791. #define visStrIDCLOSE                             2050
  1792. #define visStrIDNONE                              2300
  1793. #define visStrIDCHANGE                            2301
  1794. #define visStrIDSPACE                             2302
  1795. #define visStrIDREADY                             2320
  1796. #define visStrIDWAIT                              2321
  1797. #define visStrIDDRAG                              2322
  1798. #define visStrIDDRAW                              2323
  1799. #define visStrIDEDIT                              2324
  1800. #define visStrIDMOVE                              2325
  1801. #define visStrIDSIZE                              2326
  1802. #define visStrIDROTATE                            2327
  1803. #define visStrIDCROP                              2328
  1804. #define visStrIDSCROLL                            2329
  1805. #define visStrIDADD                               2330
  1806. #define visStrIDEXTEND                            2331
  1807. #define visStrIDCOPY                              2332
  1808. #define visStrIDLINECOLORS                        2051
  1809. #define visStrIDLINEWEIGHTS                       2052
  1810. #define visStrIDLINEPATTERNS                      2053
  1811. #define visStrIDFILLCOLORS                        2054
  1812. #define visStrIDFILLPATTERNS                      2055
  1813. #define visStrIDTEXTCOLORS                        2056
  1814. #define visStrIDSHADOWS                           2057
  1815. #define visStrIDLINEENDS                          2058
  1816. #define visStrIDCORNERS                           2059
  1817. #define visStrIDNOSHADOW                          2060
  1818.  
  1819. #endif /* _VISCONST_H */
  1820.